/**
 * 
 */
package com.ffcs.crmd.tsp.server.jdbc.entity;

import java.util.Date;

/**
 * 功能说明:
 *
 * @author FFCS-ZHONGFUHUA
 * 
 * @since 
 *
 */
public class ClusterInstance {
    
    private Long   id;
    
    private Long   clusterId;
    
    private String instanceId;
    
    private String ipAddress;
    
    private Date   startTime;
    
    private Date   closeTime;
    
    private short  running;
    
    /**
     * 功能说明: 获取id
     *
     * @return id id
     */
    public Long getId() {
        return id;
    }
    
    /**
     * 功能说明: 设置id
     *
     * @param id id 
     */
    public void setId(Long id) {
        this.id = id;
    }
    
    /**
     * 功能说明: 获取clusterId
     *
     * @return clusterId clusterId
     */
    public Long getClusterId() {
        return clusterId;
    }
    
    /**
     * 功能说明: 设置clusterId
     *
     * @param clusterId clusterId 
     */
    public void setClusterId(Long clusterId) {
        this.clusterId = clusterId;
    }
    
    /**
     * 功能说明: 获取instanceId
     *
     * @return instanceId instanceId
     */
    public String getInstanceId() {
        return instanceId;
    }
    
    /**
     * 功能说明: 设置instanceId
     *
     * @param instanceId instanceId 
     */
    public void setInstanceId(String instanceId) {
        this.instanceId = instanceId;
    }
    
    /**
     * 功能说明: 获取ipAddress
     *
     * @return ipAddress ipAddress
     */
    public String getIpAddress() {
        return ipAddress;
    }
    
    /**
     * 功能说明: 设置ipAddress
     *
     * @param ipAddress ipAddress 
     */
    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }
    
    /**
     * 功能说明: 获取startTime
     *
     * @return startTime startTime
     */
    public Date getStartTime() {
        return startTime;
    }
    
    /**
     * 功能说明: 设置startTime
     *
     * @param startTime startTime 
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
    
    /**
     * 功能说明: 获取closeTime
     *
     * @return closeTime closeTime
     */
    public Date getCloseTime() {
        return closeTime;
    }
    
    /**
     * 功能说明: 设置closeTime
     *
     * @param closeTime closeTime 
     */
    public void setCloseTime(Date closeTime) {
        this.closeTime = closeTime;
    }
    
    /**
     * 功能说明: 获取running
     *
     * @return running running
     */
    public short getRunning() {
        return running;
    }
    
    /**
     * 功能说明: 设置running
     *
     * @param running running 
     */
    public void setRunning(short running) {
        this.running = running;
    }
    
}
